package ModelLayer;

import java.util.ArrayList;

/**
 * Write a description of class Person here.
 * 
 * @author (DM80 Group 5, Anders, Michael, Jesper, Lars og Kenni) 
 * @version (a version number or a date)
 */
public class Person
{
    private int id;
    private String name;
    private String address;
    private int zipCode;
    private String city;
    private String phoneNr;

    public Person(int _id, String _name, String _address, int _zipCode, String _city, String _phoneNr)
    {
        id = _id;
        name = _name;
        address = _address;
        zipCode = _zipCode;
        city = _city;
        phoneNr = _phoneNr;
    }
    
    public int getId()
    {
        return id;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public int getZipCode()
    {
        return zipCode;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public String getPhoneNr()
    {
        return phoneNr;
    }
    
    public void setID(int _id)
    {
        id = _id;
    }
    
    public void setName(String _name)
    {
        name = _name;
    }
    
    public void setAddress(String _address)
    {
        address = _address;
    }
    
    public void setZipCode(int _zipCode)
    {
        zipCode = _zipCode;
    }
    
    public void setCity(String _city)
    {
        city = _city;
    }
    
    public void setPhoneNr(String _phoneNr)
    {
        phoneNr = _phoneNr;
    }    
}
